package ru.cod.rs.enums;

public enum Direction {
	/**
	 * to the right
	 */
	RIGHT(1),

	/**
	 * to the left
	 */
	LEFT(-1),

	/**
	 * up through axis y
	 */
	UP(-1),

	/**
	 * down through axis y
	 */
	DOWN(1),

	/**
	 * No Direction;
	 */
	NOWHERE(0);

	// /////////////////////////////////
	private int value;

	// ////////////////////////////////
	private Direction(int value) {
		this.value = value;
	}

	// ///////////////////////////////
	public int value() {
		return this.value;
	}
}
